pub mod enums {

    pub enum Corn {
        NATIVE,
        REMOTE,
        HOME,
        WORK,
    }

    pub struct People {
        body: Corn,
        nation: String,
        country: String,
    }


    pub fn new_people(body: Corn, nation: String, country: String) -> People {
        People {
            body,
            nation,
            country,
        }
    }


    impl People {
        pub fn check_people(&self) -> bool {
            match self.body {
                Corn::NATIVE => true,
                Corn::REMOTE => true,
                Corn::HOME => false,
                Corn::WORK => false,
            }
        }

    }
}